package com.lxkpt.mapper;

import com.lxkpt.bean.Business;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BusinessMapper {
    int deleteByPrimaryKey(Integer bnId);

    int insert(@Param("business") Business business);

    int insertSelective(@Param("business") Business business);

    Business selectByPrimaryKey(Integer bnId);

    int updateByPrimaryKeySelective(@Param("business") Business business);

    int updateByPrimaryKey(@Param("business") Business business);

    List<Business> selectBusiness(@Param("business") Business business);

    List<Business> searchBusiness(@Param("business") Business business);
}